home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / widget / r3viwseh.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  3.3 KB  |  107 lines

  1.  
  2. // JavaScript wrapper for r3viwseh.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_HORIZONTALVIEWSETTINGSGADGET_H = 1;
  7. include("oops/r3gadget.js")
  8.  
  9.  
  10. var R3CLID_HORIZONTALVIEWSETTINGSGADGET = 290;
  11.  
  12.  
  13.  
  14.  
  15. // Description: Adds a button whichs selects a drawing canvas class
  16. // p1: Integer, class id of the canvas (R3CLID_GFX, R3CLID_OPENGL etc)
  17.  
  18. R3HVIEWSETCM_REGISTERCANVASB = 290017;
  19.  
  20. function mR3HVIEWSETCM_REGISTERCANVASB(p1) {
  21.   DoA2(this.r3obj, 290017, p1, R3TID_INTEGER, 0, 0, R3TID_INTEGER, 0);
  22. }
  23.  
  24.  
  25.  
  26.  
  27. R3HVIEWSETA_ShowLabels = 290501;
  28. function SetR3HVIEWSETA_ShowLabels(value) {
  29.   R3Set(this.r3obj, R3HVIEWSETA_ShowLabels, value, R3TID_BOOLEAN, 0); 
  30. }
  31.  
  32. function GetR3HVIEWSETA_ShowLabels() {
  33.   return R3Get(this.r3obj, R3HVIEWSETA_ShowLabels, R3TID_BOOLEAN, 0); 
  34. }
  35.  
  36. R3HVIEWSETA_ShowTargetGroup = 290502;
  37. function SetR3HVIEWSETA_ShowTargetGroup(value) {
  38.   R3Set(this.r3obj, R3HVIEWSETA_ShowTargetGroup, value, R3TID_BOOLEAN, 0); 
  39. }
  40.  
  41. function GetR3HVIEWSETA_ShowTargetGroup() {
  42.   return R3Get(this.r3obj, R3HVIEWSETA_ShowTargetGroup, R3TID_BOOLEAN, 0); 
  43. }
  44.  
  45. R3HVIEWSETA_ShowCameraGroup = 290503;
  46. function SetR3HVIEWSETA_ShowCameraGroup(value) {
  47.   R3Set(this.r3obj, R3HVIEWSETA_ShowCameraGroup, value, R3TID_BOOLEAN, 0); 
  48. }
  49.  
  50. function GetR3HVIEWSETA_ShowCameraGroup() {
  51.   return R3Get(this.r3obj, R3HVIEWSETA_ShowCameraGroup, R3TID_BOOLEAN, 0); 
  52. }
  53.  
  54. R3HVIEWSETA_ShowInteractorGr = 290504;
  55. function SetR3HVIEWSETA_ShowInteractorGr(value) {
  56.   R3Set(this.r3obj, R3HVIEWSETA_ShowInteractorGr, value, R3TID_BOOLEAN, 0); 
  57. }
  58.  
  59. function GetR3HVIEWSETA_ShowInteractorGr() {
  60.   return R3Get(this.r3obj, R3HVIEWSETA_ShowInteractorGr, R3TID_BOOLEAN, 0); 
  61. }
  62.  
  63. R3HVIEWSETA_ShowOrientationG = 290505;
  64. function SetR3HVIEWSETA_ShowOrientationG(value) {
  65.   R3Set(this.r3obj, R3HVIEWSETA_ShowOrientationG, value, R3TID_BOOLEAN, 0); 
  66. }
  67.  
  68. function GetR3HVIEWSETA_ShowOrientationG() {
  69.   return R3Get(this.r3obj, R3HVIEWSETA_ShowOrientationG, R3TID_BOOLEAN, 0); 
  70. }
  71.  
  72. R3HVIEWSETA_ShowCanvasGroup = 290506;
  73. function SetR3HVIEWSETA_ShowCanvasGroup(value) {
  74.   R3Set(this.r3obj, R3HVIEWSETA_ShowCanvasGroup, value, R3TID_BOOLEAN, 0); 
  75. }
  76.  
  77. function GetR3HVIEWSETA_ShowCanvasGroup() {
  78.   return R3Get(this.r3obj, R3HVIEWSETA_ShowCanvasGroup, R3TID_BOOLEAN, 0); 
  79. }
  80.  
  81.  
  82.  
  83. function r3Horizontalviewsettingsgadget () { 
  84.    this.base = r3God;
  85.    if(arguments.length) {
  86.       this.base(R3CLID_HORIZONTALVIEWSETTINGSGADGET, arguments);
  87.    }
  88.    // Methods
  89.    this.REGISTERCANVASB=mR3HVIEWSETCM_REGISTERCANVASB;
  90.  
  91.    // Attributes
  92.    this.GetShowLabels=GetR3HVIEWSETA_ShowLabels;
  93.    this.SetShowLabels=SetR3HVIEWSETA_ShowLabels;
  94.    this.GetShowTargetGroup=GetR3HVIEWSETA_ShowTargetGroup;
  95.    this.SetShowTargetGroup=SetR3HVIEWSETA_ShowTargetGroup;
  96.    this.GetShowCameraGroup=GetR3HVIEWSETA_ShowCameraGroup;
  97.    this.SetShowCameraGroup=SetR3HVIEWSETA_ShowCameraGroup;
  98.    this.GetShowInteractorGr=GetR3HVIEWSETA_ShowInteractorGr;
  99.    this.SetShowInteractorGr=SetR3HVIEWSETA_ShowInteractorGr;
  100.    this.GetShowOrientationG=GetR3HVIEWSETA_ShowOrientationG;
  101.    this.SetShowOrientationG=SetR3HVIEWSETA_ShowOrientationG;
  102.    this.GetShowCanvasGroup=GetR3HVIEWSETA_ShowCanvasGroup;
  103.    this.SetShowCanvasGroup=SetR3HVIEWSETA_ShowCanvasGroup;
  104. }
  105.  
  106. r3Horizontalviewsettingsgadget.prototype=new r3Window;
  107. // r3viwseh.h_H